<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

$config['ci_profiler_enabled'] = false;

// site accronym
$config['site_accr'] = 'studio';

$config['cms_version'] = '1.0';
$config['cms_code_name'] = 'Studio';

$config['domain_type'] = 'I';

// site default page_title
$config['site_page_title'] = 'CMS Studio';

$config['site_default_domain'] = 'http://www.cms-studio.com/';

$config['content_replace'] = array();

// skin tags
$config['skin_tags'] = array(
						array(
							'prop' => 'sPageTitle',
							'tag' => '<page_title />'
						),
						array(
							'prop' => 'sPageContainer',
							'tag' => '<page_container />'
						),
						array(
							'prop' => 'aPageCss',
							'tag' => '<page_css />',
							'func' => 'process_page_css'
						),
						///////////////////////////////////////////////
						// IMPORTANT - MUST BE CALLED BEFORE page_js //
						///////////////////////////////////////////////
						array(
							'tag' => '<page_js />',
							'func' => 'process_page_js'
						),
						array(
							'tag' => '<page_menu_top />',
							'func' => 'process_page_menu_top'
						),
						array(
							'tag' => '<page_menu_left />',
							'func' => 'process_page_menu_left'
						),
						array(
							'tag' => '<page_breadcrumb />',
							'func' => 'process_page_breadcrumb'
						),
						array(
							'tag' => '<page_inner_title />',
							'func' => 'process_page_inner_title'
						),
						array(
							'prop' => 'sPageKeywords',
							'tag' => '<page_keywords />'
						),
						array(
							'prop' => 'sPageDesc',
							'tag' => '<page_desc />'
						),
						array(
							'tag' => '<admin_header />',
							'func' => 'process_admin_header'
						),
						array(
							'tag' => '<admin_menu />',
							'func' => 'process_admin_menu'
						),
						array(
							'tag' => '<admin_footer />',
							'func' => 'process_admin_footer'
						)
);						


// skin tags
$config['post_process_tags'] = array();						



$config['skin_output_tag'] = '<page_output />';

$config['display_memory_usage'] = true;
$config['display_elapsed_time'] = true;


// default skin path
$config['default_skin_path'] = APPPATH.'skins/';

// default skin file
$config['default_skin_file'] = 'default';

// default skin media path 
$config['default_skin_media_path'] = 'default';

// default page container
$config['default_page_container'] = $config['site_accr'].'_cont';
$config['default_page_subcontainer'] = $config['site_accr'].'_subcont';

// media function calls seperator
$config['media_func_sep'] = '__';

// default platform name
$config['default_platform_name'] = 'web';


///////////////////////////////
// css configuration - start //
///////////////////////////////

// minify the css
$config['minify_css'] = true;

// combine the css into one file
$config['combine_css'] = true;

// file extension to use for the css
$config['css_ext'] = '.css';

// is the css on a content delivery network
$config['css_cdn'] = false;

// external css files prefix
$config['css_syntax'] = '<link rel="stylesheet" type="text/css" media="{media}" href="{href}" />';




/////////////////////////////
// css configuration - end //
/////////////////////////////


//////////////////////////////////////
// javascript configuration - start //
//////////////////////////////////////

// minify the javascript
$config['minify_js'] = true;

// combine the javascript into one file
$config['combine_js'] = true;

// file extension to use for the javascript
$config['js_ext'] = '.js';

// is the javascript on a content delivery network
$config['js_cdn'] = false;

// external javascript files prefix
$config['js_ext_prefix'] = '<script type="text/javascript" src="';

// external javascript files suffix
$config['js_ext_suffix'] = '"></script>'.chr(10);

// internal javascript files prefix
$config['js_int_prefix'] = '<script type="text/javascript">';

// internal javascript files suffix
$config['js_int_suffix'] = '</script>'.chr(10);

////////////////////////////////////
// javascript configuration - end //
////////////////////////////////////


/////////////////////////////////////////
// admin - media max file dims - start //
/////////////////////////////////////////
$config['admin_media_file_dims'] = array(
									'O' => array('original', '0', '0'),
									'W' => array('web', '1000', '1000'),
									'P' => array('project_thumbs', '153', '216'),
									'T' => array('thumbs', '100', '100')
);

$config['admin_media_folder_max_count'] = 10000;

$config['admin_media_dir'] = './assets/media/';
$config['admin_media_dir_clean'] = substr($config['admin_media_dir'], 2);
$config['admin_media_dir_url'] = substr($config['admin_media_dir'], 1);

$config['admin_media_tmp_dir'] = $config['admin_media_dir'].'tmp/';
$config['admin_media_tmp_dir_clean'] = substr($config['admin_media_tmp_dir'], 2);
$config['admin_media_tmp_dir_url'] = substr($config['admin_media_tmp_dir'], 1);

///////////////////////////////////////
// admin - media max file dims - end //
///////////////////////////////////////

////////////////////////////////////
// page editing functions - start //
////////////////////////////////////

$config['admin_pages_news_only'] = true;

$config['admin_pages_options'] = array(
								'page_details' => array('0px -30px', '0px 0px', array()), 
								'page_content' => array('0px -30px', '0px 0px', array('hide_page_ext_url', 'hide_page_inherit_content')),
								'page_navigation' => array('0px -90px', '0px -60px', array('hide_page_inherit_content')),
								'page_banners' => array('0px -90px', '0px -60px', array('hide_page_ext_url', 'hide_page_inherit_content')),
								'page_spotlight' => array('0px -90px', '0px -60px', array('hide_page_ext_url', 'hide_page_inherit_content')),
								'page_news' => array('0px -90px', '0px -60px', array('hide_page_ext_url', 'hide_page_inherit_content')),
								'page_collaboration' => array('0px -330px', '0px -300px', array()),
								'page_seo' => array('0px -150px', '0px -120px', array('hide_page_ext_url')),
								'page_save_preview' => array('0px -210px', '0px -180px', array())/*,
								'page_preview' => array('0px -270px', '0px -240px', array('hide_page_ext_url'))*/
);
$config['admin_pages_options_autoload'] = 'page_details';
//////////////////////////////////
// page editing functions - end //
//////////////////////////////////



/////////////////////////////////////
// image editing functions - start //
/////////////////////////////////////

$config['admin_image_editing_tools'] = array(
								'image_resize' => array('backgroundPosition' => '0px 0px', 'hasCss' => true),
								'image_crop' => array('backgroundPosition' => '0px -40px', 'hasCss' => true),
								'image_rotate_left' => array('backgroundPosition' => '0px -80px', 'hasCss' => false),
								'image_rotate_right' => array('backgroundPosition' => '0px -120px', 'hasCss' => false),
								'image_flip_v' => array('backgroundPosition' => '0px -160px', 'hasCss' => false),
								'image_flip_h' => array('backgroundPosition' => '0px -200px', 'hasCss' => false),
								'image_brightness' => array('backgroundPosition' => '0px -240px', 'hasCss' => true),
								'image_contrast' => array('backgroundPosition' => '0px -280px', 'hasCss' => true)
);

///////////////////////////////////
// image editing functions - end //
///////////////////////////////////

//////////////////////////////////
// admin - apps options - start //
//////////////////////////////////
$config['banner_images_text_count'] = 0;

$config['spotlight_images_text_count'] = 1;

$config['gmaps_default_lat'] = 53.067175;
$config['gmaps_default_long'] = -1.263793;
$config['gmaps_default_zoom'] = 13;
$config['gmaps_default_width'] = 400;
$config['gmaps_default_height'] = 400;


////////////////////////////////
// admin - apps options - end //
////////////////////////////////



if (getenv('COMPUTERNAME')) {
		
	$configFile = APPPATH.'config\\dev\\cms\\'.strtolower(getenv('COMPUTERNAME')).EXT;
				
	if (file_exists($configFile) === true) {
		include($configFile);
	}
}

?>